home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / lang / c-part2 / 15199 < prev    next >
Mailbox/MIME Entity  |  1996-08-05  |  2.0 KB

open in: MacOS 8.1     |     Win98     |     DOS

browse contents    |     view JSON data     |     view as text


This file was processed as: Mailbox/MIME Entity (archive/mbox).

ConfidenceProgramDetectionMatch TypeSupport
100% dexvert Newsgroup Content (archive/news) magic Supported
100% dexvert Mailbox/MIME Entity (archive/mbox) magic Supported
100% dexvert Internet Message Format (text/imf) magic Supported
1% dexvert Text File (text/txt) fallback Supported
100% file news, ASCII text default
100% checkBytes Printable ASCII default
100% dexmagic PrintFox/Pagefox WEAK default
100% perlTextCheck Likely Text (Perl) default
100% siegfried fmt/950 MIME Email (1.0) default
100% detectItEasy Format: plain text[LF] default (weak)
100% xdgMime message/news default



hex view
+--------+-------------------------+-------------------------+--------+--------+
|00000000| 50 61 74 68 3a 20 72 65 | 64 2e 77 65 65 67 2e 75 |Path: re|d.weeg.u|
|00000010| 69 6f 77 61 2e 65 64 75 | 21 72 6f 62 69 6e 73 6f |iowa.edu|!robinso|
|00000020| 6e 0a 46 72 6f 6d 3a 20 | 54 68 65 20 41 6d 6f 72 |n.From: |The Amor|
|00000030| 70 68 6f 75 73 20 4d 61 | 73 73 20 3c 72 6f 62 69 |phous Ma|ss <robi|
|00000040| 6e 73 6f 6e 40 62 6c 75 | 65 2e 77 65 65 67 2e 75 |nson@blu|e.weeg.u|
|00000050| 69 6f 77 61 2e 65 64 75 | 3e 0a 4e 65 77 73 67 72 |iowa.edu|>.Newsgr|
|00000060| 6f 75 70 73 3a 20 63 6f | 6d 70 2e 6c 61 6e 67 2e |oups: co|mp.lang.|
|00000070| 63 0a 53 75 62 6a 65 63 | 74 3a 20 52 65 3a 20 43 |c.Subjec|t: Re: C|
|00000080| 4f 4c 4c 45 47 45 20 50 | 52 4f 46 45 53 53 4f 52 |OLLEGE P|ROFESSOR|
|00000090| 53 21 20 23 33 0a 44 61 | 74 65 3a 20 57 65 64 2c |S! #3.Da|te: Wed,|
|000000a0| 20 31 37 20 41 70 72 20 | 31 39 39 36 20 31 34 3a | 17 Apr |1996 14:|
|000000b0| 32 32 3a 31 37 20 2d 30 | 35 30 30 0a 4f 72 67 61 |22:17 -0|500.Orga|
|000000c0| 6e 69 7a 61 74 69 6f 6e | 3a 20 55 6e 69 76 65 72 |nization|: Univer|
|000000d0| 73 69 74 79 20 6f 66 20 | 49 6f 77 61 2c 20 49 6f |sity of |Iowa, Io|
|000000e0| 77 61 20 43 69 74 79 2c | 20 49 41 2c 20 55 53 41 |wa City,| IA, USA|
|000000f0| 0a 44 69 73 74 72 69 62 | 75 74 69 6f 6e 3a 20 77 |.Distrib|ution: w|
|00000100| 6f 72 6c 64 0a 4d 65 73 | 73 61 67 65 2d 49 44 3a |orld.Mes|sage-ID:|
|00000110| 20 3c 50 69 6e 65 2e 41 | 33 32 2e 33 2e 39 31 2e | <Pine.A|32.3.91.|
|00000120| 39 36 30 34 31 37 31 34 | 31 32 31 39 2e 32 36 34 |96041714|1219.264|
|00000130| 37 34 49 2d 31 30 30 30 | 30 30 40 72 65 64 2e 77 |74I-1000|00@red.w|
|00000140| 65 65 67 2e 75 69 6f 77 | 61 2e 65 64 75 3e 0a 52 |eeg.uiow|a.edu>.R|
|00000150| 65 66 65 72 65 6e 63 65 | 73 3a 20 3c 38 42 45 43 |eference|s: <8BEC|
|00000160| 35 35 36 2e 30 32 43 37 | 30 30 33 31 43 36 2e 75 |556.02C7|0031C6.u|
|00000170| 75 6f 75 74 40 73 6f 75 | 72 63 65 62 62 73 2e 63 |uout@sou|rcebbs.c|
|00000180| 6f 6d 3e 0a 4e 4e 54 50 | 2d 50 6f 73 74 69 6e 67 |om>.NNTP|-Posting|
|00000190| 2d 48 6f 73 74 3a 20 72 | 65 64 2e 77 65 65 67 2e |-Host: r|ed.weeg.|
|000001a0| 75 69 6f 77 61 2e 65 64 | 75 0a 4d 69 6d 65 2d 56 |uiowa.ed|u.Mime-V|
|000001b0| 65 72 73 69 6f 6e 3a 20 | 31 2e 30 0a 43 6f 6e 74 |ersion: |1.0.Cont|
|000001c0| 65 6e 74 2d 54 79 70 65 | 3a 20 54 45 58 54 2f 50 |ent-Type|: TEXT/P|
|000001d0| 4c 41 49 4e 3b 20 63 68 | 61 72 73 65 74 3d 55 53 |LAIN; ch|arset=US|
|000001e0| 2d 41 53 43 49 49 0a 58 | 2d 53 65 6e 64 65 72 3a |-ASCII.X|-Sender:|
|000001f0| 20 72 6f 62 69 6e 73 6f | 6e 40 72 65 64 2e 77 65 | robinso|n@red.we|
|00000200| 65 67 2e 75 69 6f 77 61 | 2e 65 64 75 0a 49 6e 2d |eg.uiowa|.edu.In-|
|00000210| 52 65 70 6c 79 2d 54 6f | 3a 20 3c 38 42 45 43 35 |Reply-To|: <8BEC5|
|00000220| 35 36 2e 30 32 43 37 30 | 30 33 31 43 36 2e 75 75 |56.02C70|031C6.uu|
|00000230| 6f 75 74 40 73 6f 75 72 | 63 65 62 62 73 2e 63 6f |out@sour|cebbs.co|
|00000240| 6d 3e 20 0a 0a 4f 6e 20 | 54 75 65 2c 20 31 36 20 |m> ..On |Tue, 16 |
|00000250| 41 70 72 20 31 39 39 36 | 2c 20 44 41 56 49 44 20 |Apr 1996|, DAVID |
|00000260| 4d 4f 48 4f 52 4e 20 77 | 72 6f 74 65 3a 0a 0a 3e |MOHORN w|rote:..>|
|00000270| 20 4d 79 20 6c 61 73 74 | 20 63 6f 6d 70 6c 61 69 | My last| complai|
|00000280| 6e 74 20 74 6f 6e 69 67 | 68 74 20 69 73 20 68 6f |nt tonig|ht is ho|
|00000290| 77 20 74 68 65 20 69 6e | 73 74 72 75 63 74 6f 72 |w the in|structor|
|000002a0| 20 63 6f 6d 6d 65 6e 74 | 73 20 68 69 73 20 63 6f | comment|s his co|
|000002b0| 64 65 2d 2d 49 0a 3e 20 | 63 61 6e 27 74 20 74 61 |de--I.> |can't ta|
|000002c0| 6b 65 20 69 74 20 61 6e | 79 20 6d 6f 72 65 21 21 |ke it an|y more!!|
|000002d0| 21 0a 5b 73 6e 69 70 5d | 0a 3e 20 54 68 65 20 63 |!.[snip]|.> The c|
|000002e0| 6f 64 65 20 69 73 20 65 | 6e 64 6c 65 73 73 6c 79 |ode is e|ndlessly|
|000002f0| 20 6f 76 65 72 20 63 6f | 6d 6d 65 6e 74 65 64 21 | over co|mmented!|
|00000300| 20 20 49 20 6d 65 61 6e | 2c 20 65 76 65 72 79 20 | I mean|, every |
|00000310| 22 63 6f 6d 6d 65 6e 74 | 22 20 69 73 20 38 30 0a |"comment|" is 80.|
|00000320| 3e 20 63 68 61 72 61 63 | 74 65 72 73 20 6c 6f 6e |> charac|ters lon|
|00000330| 67 20 77 72 69 74 74 65 | 6e 20 69 6e 20 70 61 72 |g writte|n in par|
|00000340| 61 67 72 61 70 68 20 66 | 6f 72 6d 61 74 21 20 20 |agraph f|ormat! |
|00000350| 43 6f 64 65 20 73 74 61 | 74 65 6d 65 6e 74 73 20 |Code sta|tements |
|00000360| 61 72 65 20 62 75 72 69 | 65 64 0a 3e 20 69 6e 20 |are buri|ed.> in |
|00000370| 74 68 65 20 6d 69 64 64 | 6c 65 20 6f 66 20 63 6f |the midd|le of co|
|00000380| 6d 6d 65 6e 74 73 21 20 | 20 49 74 20 69 73 20 76 |mments! | It is v|
|00000390| 69 72 74 75 61 6c 6c 79 | 20 75 6e 72 65 61 64 61 |irtually| unreada|
|000003a0| 62 6c 65 21 0a 3e 20 0a | 3e 20 53 75 72 65 21 20 |ble!.> .|> Sure! |
|000003b0| 20 49 20 62 65 6c 69 65 | 76 65 20 70 72 6f 70 65 | I belie|ve prope|
|000003c0| 72 20 64 6f 63 75 6d 65 | 6e 74 61 74 69 6f 6e 20 |r docume|ntation |
|000003d0| 69 73 20 69 6d 70 6f 72 | 74 61 6e 74 2c 20 62 79 |is impor|tant, by|
|000003e0| 20 74 68 69 73 20 69 73 | 0a 3e 20 72 69 64 69 63 | this is|.> ridic|
|000003f0| 75 6c 6f 75 73 21 0a 0a | 20 20 54 68 65 6e 20 47 |ulous!..| Then G|
|00000400| 6f 64 20 66 6f 72 62 69 | 64 20 79 6f 75 20 73 68 |od forbi|d you sh|
|00000410| 6f 75 6c 64 20 65 76 65 | 72 20 63 6f 64 65 20 69 |ould eve|r code i|
|00000420| 6e 20 61 20 66 75 6e 63 | 74 69 6f 6e 61 6c 20 6c |n a func|tional l|
|00000430| 61 6e 67 75 61 67 65 20 | 6c 69 6b 65 20 0a 4d 69 |anguage |like .Mi|
|00000440| 72 61 6e 64 61 2c 20 69 | 6e 20 77 68 69 63 68 20 |randa, i|n which |
|00000450| 74 68 65 20 63 6f 64 65 | 20 69 73 20 73 6f 20 74 |the code| is so t|
|00000460| 65 72 73 65 20 72 65 6c | 61 74 69 76 65 20 74 6f |erse rel|ative to|
|00000470| 20 74 68 65 20 64 6f 63 | 75 6d 65 6e 74 61 74 69 | the doc|umentati|
|00000480| 6f 6e 20 0a 6e 65 63 65 | 73 73 61 72 79 20 74 6f |on .nece|ssary to|
|00000490| 20 65 78 70 6c 61 69 6e | 20 69 74 20 74 68 61 74 | explain| it that|
|000004a0| 20 74 68 65 72 65 20 69 | 73 20 61 20 73 70 65 63 | there i|s a spec|
|000004b0| 69 61 6c 20 63 68 61 72 | 61 63 74 65 72 20 74 6f |ial char|acter to|
|000004c0| 20 64 65 6c 69 6d 69 74 | 20 0a 5f 63 6f 64 65 5f | delimit| ._code_|
|000004d0| 2c 20 72 61 74 68 65 72 | 20 74 68 61 6e 20 63 6f |, rather| than co|
|000004e0| 6d 6d 65 6e 74 73 2e 20 | 20 54 68 69 73 20 61 70 |mments. | This ap|
|000004f0| 70 72 6f 61 63 68 20 69 | 73 20 6b 6e 6f 77 6e 20 |proach i|s known |
|00000500| 61 73 20 6c 69 74 65 72 | 61 74 65 20 0a 73 63 72 |as liter|ate .scr|
|00000510| 69 70 74 69 6e 67 2c 20 | 61 6e 64 20 69 74 20 6d |ipting, |and it m|
|00000520| 61 6b 65 73 20 74 68 65 | 20 63 6f 64 65 20 72 65 |akes the| code re|
|00000530| 61 64 20 6d 75 63 68 20 | 6c 69 6b 65 20 61 20 74 |ad much |like a t|
|00000540| 65 78 74 62 6f 6f 6b 3a | 20 20 50 61 72 61 67 72 |extbook:| Paragr|
|00000550| 61 70 68 73 20 0a 6f 66 | 20 70 6c 61 69 6e 20 74 |aphs .of| plain t|
|00000560| 65 78 74 20 69 6e 74 65 | 72 73 70 65 72 73 65 64 |ext inte|rspersed|
|00000570| 20 77 69 74 68 20 62 69 | 74 73 20 6f 66 20 63 6f | with bi|ts of co|
|00000580| 64 65 20 6f 66 66 73 65 | 74 20 62 79 20 61 20 64 |de offse|t by a d|
|00000590| 65 6c 69 6d 69 74 65 72 | 2e 0a 0a 20 54 68 65 72 |elimiter|... Ther|
|000005a0| 65 20 69 73 20 6e 6f 20 | 66 69 78 65 64 20 72 61 |e is no |fixed ra|
|000005b0| 74 69 6f 20 6f 66 20 63 | 6f 6d 6d 65 6e 74 73 20 |tio of c|omments |
|000005c0| 74 6f 20 63 6f 64 65 2e | 20 20 54 68 65 20 70 72 |to code.| The pr|
|000005d0| 6f 67 72 61 6d 73 20 49 | 20 77 72 69 74 65 20 61 |ograms I| write a|
|000005e0| 74 20 0a 77 6f 72 6b 20 | 68 61 76 65 20 61 74 20 |t .work |have at |
|000005f0| 5f 6c 65 61 73 74 5f 20 | 61 20 32 3a 31 20 63 6f |_least_ |a 2:1 co|
|00000600| 6d 6d 65 6e 74 73 2f 63 | 6f 64 65 20 72 61 74 69 |mments/c|ode rati|
|00000610| 6f 2c 20 62 65 63 61 75 | 73 65 20 49 27 6d 20 74 |o, becau|se I'm t|
|00000620| 68 65 20 6f 6e 6c 79 20 | 43 20 0a 70 72 6f 67 72 |he only |C .progr|
|00000630| 61 6d 6d 65 72 20 69 6e | 20 74 68 65 20 70 6c 61 |ammer in| the pla|
|00000640| 63 65 20 28 74 68 65 20 | 6f 74 68 65 72 20 70 72 |ce (the |other pr|
|00000650| 6f 67 72 61 6d 6d 65 72 | 73 20 75 73 65 20 43 4f |ogrammer|s use CO|
|00000660| 42 4f 4c 2c 20 46 4f 52 | 54 52 41 4e 37 37 2c 20 |BOL, FOR|TRAN77, |
|00000670| 61 6e 64 20 0a 50 4c 2f | 31 29 2c 20 73 6f 20 49 |and .PL/|1), so I|
|00000680| 20 6e 65 65 64 20 74 6f | 20 65 78 70 6c 61 69 6e | need to| explain|
|00000690| 20 77 68 61 74 20 49 27 | 6d 20 64 6f 69 6e 67 20 | what I'|m doing |
|000006a0| 5f 76 65 72 79 5f 20 74 | 68 6f 72 6f 75 67 68 6c |_very_ t|horoughl|
|000006b0| 79 20 61 6e 64 20 0a 63 | 61 72 65 66 75 6c 6c 79 |y and .c|arefully|
|000006c0| 2e 20 45 73 70 65 63 69 | 61 6c 6c 79 20 73 69 6e |. Especi|ally sin|
|000006d0| 63 65 20 49 20 69 6e 73 | 69 73 74 20 6f 6e 20 77 |ce I ins|ist on w|
|000006e0| 72 69 74 69 6e 67 20 69 | 64 69 6f 6d 61 74 69 63 |riting i|diomatic|
|000006f0| 20 43 2e 20 3a 2d 29 0a | 0a 2f 2a 2a 4a 61 6d 65 | C. :-).|./**Jame|
|00000700| 73 20 52 6f 62 69 6e 73 | 6f 6e 2a 2a 2a 2a 2a 2a |s Robins|on******|
|00000710| 2a 2a 2a 2a 2a 2a 2a 2a | 2a 2a 2a 2a 2a 2a 2a 2a |********|********|
|00000720| 2a 20 20 20 20 20 20 20 | 20 20 20 20 20 0a 20 20 |* | . |
|00000730| 22 49 66 20 61 20 66 61 | 74 61 6c 20 65 72 72 6f |"If a fa|tal erro|
|00000740| 72 20 6f 63 63 75 72 73 | 2c 20 74 68 65 20 70 72 |r occurs|, the pr|
|00000750| 6f 67 72 61 6d 20 73 68 | 6f 75 6c 64 20 6e 6f 74 |ogram sh|ould not|
|00000760| 20 62 65 20 61 6c 6c 6f | 77 65 64 20 74 6f 20 63 | be allo|wed to c|
|00000770| 6f 6e 74 69 6e 75 65 2e | 22 0a 20 2d 2d 20 4f 72 |ontinue.|". -- Or|
|00000780| 61 63 6c 65 20 50 72 6f | 2a 43 20 55 73 65 72 27 |acle Pro|*C User'|
|00000790| 73 20 47 75 69 64 65 20 | 20 20 20 20 20 20 20 20 |s Guide | |
|000007a0| 2a 2a 2a 2a 2a 2a 2a 2a | 2a 2a 2a 2a 2a 6a 61 6d |********|*****jam|
|000007b0| 65 73 2d 72 6f 62 69 6e | 73 6f 6e 40 75 69 6f 77 |es-robin|son@uiow|
|000007c0| 61 2e 65 64 75 2a 2a 2f | 0a 0a 0a 0a 0a |a.edu**/|..... |
+--------+-------------------------+-------------------------+--------+--------+